package Vista;
import java.awt.BorderLayout;
import javax.swing.BorderFactory;
import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.SwingUtilities;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableModel;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class NewJDialogReporteProducto extends javax.swing.JDialog {
	private JPanel jPanelReporteProducto;
	private JTable jTableReporteProMonto;
	private JButton jBtoSalir;
	private JComboBox jComboBox1;
	private JButton jButtonSalir;
	private JLabel jLblReporteProMonto;
	public JPanel getjPanelReporteProducto() {
		return jPanelReporteProducto;
	}

	public JTable getjTableReporteProMonto() {
		return jTableReporteProMonto;
	}

	public JButton getjBtoSalir() {
		return jBtoSalir;
	}

	public JComboBox getjComboBox1() {
		return jComboBox1;
	}

	public JLabel getjLblReporteProMonto() {
		return jLblReporteProMonto;
	}


	public JScrollPane getjScrollPaneReporteProductoporMonto() {
		return jScrollPaneReporteProductoporMonto;
	}

	private JScrollPane jScrollPaneReporteProductoporMonto;

	/**
	* Auto-generated main method to display this JDialog
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				JFrame frame = new JFrame();
				NewJDialogReporteProducto inst = new NewJDialogReporteProducto(frame);
				inst.setVisible(true);
			}
		});
	}
	
	public NewJDialogReporteProducto(JFrame frame) {
		super(frame);
		initGUI();
	}
	
	private void initGUI() {
		try {
			{
				getContentPane().setLayout(null);
				this.setTitle("Reporte de productos por monto");
			}
			{
				jPanelReporteProducto = new JPanel();
				getContentPane().add(jPanelReporteProducto, "Center");
				jPanelReporteProducto.setBounds(12, 12, 573, 283);
				jPanelReporteProducto.setBorder(BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(0,0,0)));
				jPanelReporteProducto.setLayout(null);
				jPanelReporteProducto.setBackground(new java.awt.Color(237,206,69));
				{
					jScrollPaneReporteProductoporMonto = new JScrollPane();
					jPanelReporteProducto.add(jScrollPaneReporteProductoporMonto);
					jScrollPaneReporteProductoporMonto.setBounds(60, 50, 430, 189);
					jScrollPaneReporteProductoporMonto.setFont(new java.awt.Font("Comic Sans MS",3,14));
					{
						TableModel jTableReporteProMontoModel = 
							new DefaultTableModel(
									new String[][] { { "One", "Two" }, { "Three", "Four" } },
									new String[] { "Column 1", "Column 2" });
						jTableReporteProMonto = new JTable();
						jScrollPaneReporteProductoporMonto.setViewportView(jTableReporteProMonto);
						jTableReporteProMonto.setModel(jTableReporteProMontoModel);
						jTableReporteProMonto.getTableHeader().setFont(new java.awt.Font("Comic Sans MS",3,14));
						jTableReporteProMonto.setFont(new java.awt.Font("Comic Sans MS",3,14));
					}
				}
				{
					jLblReporteProMonto = new JLabel();
					jPanelReporteProducto.add(jLblReporteProMonto);
					jLblReporteProMonto.setText("Reporte de Productos por Monto");
					jLblReporteProMonto.setBounds(60, 23, 292, 15);
					jLblReporteProMonto.setFont(new java.awt.Font("Comic Sans MS",3,14));
				}
				{
					jBtoSalir = new JButton();
					jPanelReporteProducto.add(jBtoSalir);
					jBtoSalir.setText("Salir");
					jBtoSalir.setBounds(490, 373, 41, 22);
				}
				{
					ComboBoxModel jComboBox1Model = 
						new DefaultComboBoxModel(
								new String[] { "Item One", "Item Two" });
					jComboBox1 = new JComboBox();
					jPanelReporteProducto.add(jComboBox1);
					jComboBox1.setModel(jComboBox1Model);
					jComboBox1.setBounds(364, 7, 126, 22);
					jComboBox1.setFont(new java.awt.Font("Comic Sans MS",3,14));
				}
				{
					jButtonSalir = new JButton();
					jPanelReporteProducto.add(jButtonSalir);
					jButtonSalir.setText("Salir");
					jButtonSalir.setBounds(389, 251, 107, 22);
					jButtonSalir.setFont(new java.awt.Font("Comic Sans MS",3,14));
				}
			}
			this.setSize(629, 345);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public JButton getjButtonSalir() {
		return jButtonSalir;
	}

}
